//建模列表获取v8数据
function getV8forparam(){
//获取建模明细表所有下标数据
var subArr=ModeForm.getDetailAllRowIndexStr("detail_1");
//店铺id
var dpbhField=ModeForm.convertFieldNameToId("dpbh", "detail_1");
//日期
var fsrqField=ModeForm.convertFieldNameToId("fsrq", "detail_1");
if(subArr!=""&&subArr!=null){
var subArrs=subArr.split(",");
alert("开始获取");
for(var i=0;i<subArrs.length;i++){
//店铺值
var dpbhVal= ModeForm.getFieldValue(dpbhField+"_"+subArrs[i]);
//发起日期
var fqsjVal=ModeForm.getFieldValue(fsrqField+"_"+subArrs[i]);

    //根据部门id查询店员信息
    jQuery.ajax({
        async: false,
        type: 'get',
        url: "/api/weavernorth/salaryparm/getV8messforparam",
        data: {
            "dpbh": dpbhVal,
            "fqsj":fqsjVal
        },
        success: function(data) {


        },
           error: function (data) {  //请求失败时被调用的函数
        				   // alert(data);
                            alert("加载失败，请联系管理员！");
                        }
    });
}
  alert("获取完成");
}
}